package com.bootdo.system.service;

import java.util.List;
import java.util.Map;

import com.bootdo.common.utils.Query;
import com.bootdo.system.domain.BizCustomerDO;
import com.bootdo.system.domain.BizCustomerIncomeVO;
import com.bootdo.system.vo.ExcelPropertyIndexModel;

/**
 * 客户信息表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-06-25 10:10:25
 */
public interface BizCustomerService {
	
	BizCustomerDO get(String tid);
	
	List<BizCustomerDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(BizCustomerDO bizCustomer);
	
	int update(BizCustomerDO bizCustomer);
	
	int remove(String tid);
	
	int batchRemove(String[] tids);

    void updateCustomerActiveStatusByPeriod();

    List<ExcelPropertyIndexModel> queryData2Export(Map<String, Object> query);

    List<BizCustomerIncomeVO> incomeStatics(Map<String, Object> query);
}
